<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="原始数据录入" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<style type="text/css">
    #prehardening .prehardeningTime div div,
    #prehardening .prehardeningTime div div input {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .table tr td {
        vertical-align: middle !important;
    }
    .setfont {
        font-weight: bolder;
        font-size: 16px;
    }
    input {
        /* border-left: 4px !important; */
        padding-left: 1px !important;
        padding-right: 1px !important;
    }
    .setfont2 {
        font-weight: bolder;
        font-size: 16px;
    }
    .leftgeshi {
        margin-left: 10px;
        margin-top: 10px;
    }
</style>

<div class="row">
    <@f.form id="task-form-complete" class="form-horizontal">
    <input name="entryId" value="${dataEntry.id?default('')}" type="hidden" >
    <input name="entryCode" value="${dataEntry.testCode?default('')}" type="hidden">
    <div class="col-md-2">
        <div class="setfont2 leftgeshi">样品编号:</div>
        <div class="leftgeshi"><input type="text" name="sampleCode" value="${dataEntry.sampleCode?default('')}" class="form-control"></div>
        <div class="setfont2 leftgeshi">工程名称:</div>
        <div class="leftgeshi"><input type="text" name="projectName" value="${dataEntry.projectName?default('')}" class="form-control"></div>
        <div class="setfont2 leftgeshi">样品规格:</div>
        <div class="leftgeshi"><input type="text" name="specs" value="${dataEntry.specs?default('')}" class="form-control"></div>
        <div class="setfont2 leftgeshi">其他说明:</div>
        <div class="leftgeshi"><input type="text" name="remark" class="form-control"></div>
        <div class="setfont2 leftgeshi">实验日期:</div>
        <div class="leftgeshi">
            <!--<input type="text" class="form-control">-->
            <@f.input name="experimentTime" type="date" dataType="date" dataFormat="yyyy-MM-dd HH:mm:ss"
            placeholder="出厂日期" butClass="fa fa-calendar-plus-o" required=true />
        </div>
        <div class="setfont2 leftgeshi">实验条件:</div>
        <div class="leftgeshi">
            <div style="display: inline-block;">温度:</div>
            <div style="display: inline-block;"><input type="text" name="temperature" class="form-control" style="width: 30px;">
            </div>
            <div style="display: inline-block;">℃湿度:</div>
            <div style="display: inline-block;"><input type="text" name="humidity" class="form-control" style="width: 30px;">
            </div>
            <span>%</span>
        </div>

        <div class="leftgeshi"><span class="setfont2">主要设备仪器:</span>
            <button type="button" class="btn btn-primary">添加</button>
        </div>
        <div class="leftgeshi" style="overflow: auto; height: 100px; border: 1px solid #ddd;">
            <input name="equipment" value="" type="hidden">
            <textarea name="equipmentName" id="equipmentName" rows="5" cols="18" readonly>
            <#list chargeStandard as c>
            ${c.equipmentName}
            </#list>
            </textarea>

        </div>
    </div>
    <div class="col-md-10">

        <!-- Nav tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#finenessOfCement" aria-controls="finenessOfCement"
                                                      role="tab" data-toggle="tab">水泥细度</a></li>
            <li role="presentation"><a href="#normalConsistency" aria-controls="normalConsistency" role="tab"
                                       data-toggle="tab">标准稠度</a></li>
            <li role="presentation"><a href="#initialSettingTime" aria-controls="initialSettingTime" role="tab"
                                       data-toggle="tab">除凝时间</a></li>
            <li role="presentation"><a href="#TheIntensityOfThreeDays" aria-controls="TheIntensityOfThreeDays"
                                       role="tab" data-toggle="tab">三天强度</a></li>
            <li role="presentation"><a href="#prehardening" aria-controls="prehardening" role="tab"
                                       data-toggle="tab">初凝、终凝</a></li>
            <li role="presentation"><a href="#stability" aria-controls="stability" role="tab"
                                       data-toggle="tab">安定性</a></li>
            <li role="presentation"><a href="#CementDensity" aria-controls="CementDensity" role="tab"
                                       data-toggle="tab">水泥密度</a></li>
            <li role="presentation"><a href="#specificSurfaceArea" aria-controls="specificSurfaceArea"
                                       role="tab" data-toggle="tab">比表面积</a></li>
            <li role="presentation"><a href="#mortarFluidity" aria-controls="mortarFluidity" role="tab"
                                       data-toggle="tab">胶砂流动度</a></li>
            <li role="presentation"><a href="#ThFastStrength" aria-controls="ThFastStrength" role="tab"
                                       data-toggle="tab">水泥胶砂强度3天、七天、快速测强法</a></li>
            <li role="presentation"><a href="#losOnIgnition" aria-controls="losOnIgnition" role="tab"
                                       data-toggle="tab">烧失量</a></li>
        </ul>
        <!-- Tab panes -->
        <div class="tab-content" style="border: 1px solid #ddd; border-top: none; height: 498px;">
            <!-- 水泥细度 -->
            <div role="tabpanel" class="tab-pane active" id="finenessOfCement">
                <div class="row setfont" style="padding-top: 30px; text-align: center;">
                    <div class="col-sm-2 col-sm-offset-1">试验次数</div>
                    <div class="col-sm-2">式样质量(g)</div>
                    <div class="col-sm-2">筛余质量(g)</div>
                    <div class="col-sm-2">筛余百分比(%)</div>
                    <div class="col-sm-2">平均值</div>
                </div>
                <div class="row" style="padding-top: 20px;text-align: center;">
                    <input type="hidden" name="xidu" class="form-control">

                    <div class="col-sm-2 col-sm-offset-1">1</div>
                    <div class="col-sm-2"><input type="text" name="style1" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="residue1" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="percentage1" class="baifenbi form-control"></div>
                    <div class="col-sm-2"><input style="position: absolute; margin-top: 2px;"  type="text" name="average "  class="form-control average"></div>
                </div>
                <div class="row" style="padding-top: 20px;text-align: center;">
                    <div class="col-sm-2 col-sm-offset-1">2</div>
                    <div class="col-sm-2"><input type="text" name="style2" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="residue2" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="percentage2" class="form-control"></div>
                </div>
            </div>
            <!-- 标准稠度 -->
            <div role="tabpanel" class="tab-pane" id="normalConsistency">
                <div class="row">
                    <div class="col-sm-8 col-sm-offset-2">
                        <input type="hidden" name="houdu" class="form-control">
                        <table class="table setfont table-bordered"
                               style="margin-top: 70px; text-align: center;">
                            <tr>
                                <td rowspan="2" colspan="2">试样重(g)</td>
                                <td colspan="6">试杆沉入净浆距底板6±1mm时</td>
                            </tr>
                            <tr>
                                <td colspan="3">加水量（mL）</td>
                                <td colspan="3">标准稠度用水量P（%）</td>
                            <tr>
                                <td colspan="2"><input type="text" name="sample" class="form-control"></td>
                                <td colspan="3"><input type="text" name="water" class="form-control"></td>
                                <td colspan="3"><input type="text" name="consistency" class="form-control"></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="initialSettingTime">333333</div>
            <div role="tabpanel" class="tab-pane" id="TheIntensityOfThreeDays">444444</div>
            <!-- 初凝、终凝 -->
            <div role="tabpanel" class="tab-pane" id="prehardening" style=" padding-top: 30px;">
                <input type="hidden" name="ningjie" class="form-control">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1 setfont">
                        <div class="col-sm-6" style="padding-left: 0;">3.1、初凝时间（加水时间： 年 月 日 h min）</div>
                        <div class="col-sm-6">备注：第一次初凝时间的测定在加水时间的30min进行</div>
                    </div>
                </div>
                <div class="row" style="margin-top: 20px;">
                    <div class="col-sm-10 col-sm-offset-1 setfont">测定时间(h:min)</div>
                </div>
                <div class="row prehardeningTime" style="margin-top: 10px;">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="col-sm-1">
                            <!--<input type="text" class="form-control">-->
                            <@f.input name="first1" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                        </div>
                        <div class="col-sm-1">
                            <!--<input type="text" class="form-control">-->
                            <@f.input name="first2" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input class="form-control time-input" name="putTime"  data-type="time" data-format="HH:mm" type="text"  required>-->

                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first3" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first4" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first5" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first6" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first7" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first8" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first9" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first10" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first11" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="first12" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1 setfont" style="margin-top: 20px;">3.2终凝时间</div>
                </div>
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1 setfont">测定时间(h:min)</div>
                </div>
                <div class="row prehardeningTime" style="margin-top: 10px;">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="col-sm-1">
                            <@f.input name="end1" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end2" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end3" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end4" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end5" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end6" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end7" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end8" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end9" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end10" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end11" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                        <div class="col-sm-1">
                            <@f.input name="end12" type="date" dataType="time" dataFormat="HH:mm"
                            placeholder="时分"   />
                            <!--<input type="text" class="form-control">-->
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1 setfont" style="margin-top: 10px;">试件表面环痕</div>
                </div>
                <div class="row prehardeningTime" style="margin-top: 5px;">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">

                            <@f.radio name="whether1" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening1" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening1" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether2" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening1" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening1" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether3" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening2" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening2" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether4" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening3" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening3" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether5" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening4" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening4" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether6" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening5" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening5" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether7" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening6" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening6" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether8" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening7" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening7" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether9" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening8" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening8" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether10" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening9" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening9" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether11" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening10" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening10" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                        <div class="col-sm-1"
                             style="border: 1px solid #ddd; text-align: center; border-radius: 10px;">
                            <@f.radio name="whether12" dictType="pms_whether" value=""/>
                            <!--<div class="radio">-->
                                <!--<label><input type="radio" name="isprehardening11" value="是">是</label>-->
                                <!--<label><input type="radio" name="isprehardening11" value="否">否</label>-->
                            <!--</div>-->
                        </div>
                    </div>
                </div>
            </div>


            <!-- 安定性 -->
            <div role="tabpanel" class="tab-pane" id="stability">
                <input type="hidden" name="andingxing" class="form-control">
                <div class="row setfont" style="padding-top: 30px; text-align: center">
                    <div class="col-sm-2 col-sm-offset-1">5.1安定性</div>
                </div>
                <div class="row setfont" style="padding-top: 30px; text-align: center;">
                    <div class="col-sm-2 col-sm-offset-1">试验次数</div>
                    <div class="col-sm-2">起始距离A(mm)</div>
                    <div class="col-sm-2">最后距离C(mm)</div>
                    <div class="col-sm-2">煮后增加距离C-A(mm)</div>
                    <div class="col-sm-2">平均值(mm)</div>
                </div>
                <div class="row" style="padding-top: 20px;text-align:center">
                    <div class="col-sm-2 col-sm-offset-1" >1</div>
                    <div class="col-sm-2"><input type="text" name="start1" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="endDistance1" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="add1" class="baifenbi form-control"></div>
                    <div class="col-sm-2"><input style="position: absolute; margin-top: 2px;" type="text" name="averageDistance1" class="form-control average"></div>
                </div>
                <div class="row" style="padding-top: 20px;text-align:center">
                    <div class="col-sm-2 col-sm-offset-1" >2</div>
                    <div class="col-sm-2"><input type="text" name="start2" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="endDistance2" class="form-control"></div>
                    <div class="col-sm-2"><input type="text" name="add2" class="form-control"></div>
                </div>
            </div>


            <!-- 水泥密度 -->
            <div role="tabpanel" class="tab-pane" id="CementDensity">
                <input type="hidden" name="midu" class="form-control">
                <div class="row" style="margin-top: 20px;">
                    <div class="col-md-10 col-md-offset-1">
                        <table class="table table-bordered">
                            <tr class="setfont">
                                <td colspan="5">5、水泥密度</td>
                                <td colspan="4">测试日期：年 月 日</td>
                            </tr>
                            <tr class="setfont">
                                <td colspan="1">实验次数</td>
                                <td colspan="1">温度(℃)</td>
                                <td colspan="1">试样质量</td>
                                <td colspan="1">装入李氏瓶的试样质量</td>
                                <td colspan="1">第一次读数(cm³)</td>
                                <td colspan="1">第二次读数(cm³)</td>
                                <td colspan="1">试样体积（cm3）</td>
                                <td colspan="1">密度（g/cm3）</td>
                                <td colspan="1">平均值（g/cm3）</td>
                            </tr>
                            <tr>
                                <td colspan="1">1</td>
                                <td colspan="1"><input type="text" name="temperature1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="sampleMass1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="load1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="firstReading1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="twoReading1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="volume1" class="form-control"></td>
                                <td colspan="1"><input type="text" name="density1" class="form-control"></td>
                                <td colspan="1" rowspan="2"><input name="densityAverage" type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td colspan="1">2</td>
                                <td colspan="1"><input type="text" name="temperature2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="sampleMass2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="load2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="firstReading2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="twoReading2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="volume2" class="form-control"></td>
                                <td colspan="1"><input type="text" name="density2" class="form-control"></td>
                            </tr>
                        </table>
                    </div>
                </div>

            </div>


            <!-- 比表面积 -->
            <div role="tabpanel" class="tab-pane" id="specificSurfaceArea">
                <input type="hidden" name="mianji" class="form-control">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <table class="table table-bordered">
                            <tr class="setfont" style="text-align: center;">
                                <td></td>
                                <td>温度(℃)</td>
                                <td>密度(g/cm3)</td>
                                <td>试料层的空隙率</td>
                                <td>试验温度下的空气粘度(Pa·s)</td>
                                <td>液面跌落时间(t)</td>
                                <td>比表面积(cm2/g)</td>
                                <td>平均值(cm2/g)</td>
                            </tr>
                            <tr>
                                <td class="setfont" style="text-align: center;">标准样式</td>
                                <td><input type="text" name="faceTemperature1" class="form-control"></td>
                                <td><input type="text" name="densityTemperature1" class="form-control"></td>
                                <td><input type="text" name="porosityTemperature1" class="form-control"></td>
                                <td style="text-align: center;"><input type="text" name="viscosityTemperature1" class="form-control"></td>
                                <td><input type="text" name="surfaceTemperature1" class="form-control"></td>
                                <td><input type="text" name="areaTemperature1" class="form-control"></td>
                                <td style="text-align: center;"><input type="text" name="averageTemperature1" class="form-control"></td>
                            </tr>
                            <tr>
                                <td class="setfont">被测试样1</td>
                                <td rowspan="2"><input type="text" name="faceTemperature2" class="form-control"></td>
                                <td rowspan="2"><input type="text" name="densityTemperature2" class="form-control"></td>
                                <td rowspan="2"><input type="text" name="porosityTemperature2" class="form-control"></td>
                                <td rowspan="2" class="average" style="text-align: center;"><input type="text" name="viscosityTemperature2" class="form-control"></td>
                                <td style="padding-bottom: 0 !important;"><input style="height: 100% !important;" type="text"  name="surfaceTemperature2" class="form-control"></td>
                                <td style="padding-bottom: 0 !important;"><input style="height: 100% !important;" type="text" name="areaTemperature2" class="form-control"></td>
                                <td rowspan="2"><input type="text" name="averageTemperature2" class="form-control" style="height: 90%;">
                                </td>
                            </tr>
                            <tr>
                                <td class="setfont">被测试样2</td>
                                <td><input style="height: 100%;" type="text" name="surfaceTemperature3" class="form-control"></td>
                                <td><input style="height: 100%;" type="text" name="areaTemperature3" class="form-control"></td>

                            </tr>
                        </table>
                    </div>
                </div>
            </div>


            <!-- 胶砂流动度 -->
            <div role="tabpanel" class="tab-pane" id="mortarFluidity">
                <input type="hidden" name="liudongdu" class="form-control">
                <div class="row">
                    <div class="col-sm-10 col-md-offset-1">
                        <table class="table table-bordered">
                            <tr>
                                <td colspan="2">7、胶砂流动度</td>
                                <td colspan="1" style="border-right: 0px solid white;">测试日期</td>
                                <td colspan="2" style="border-left: 0px solid white;"><@f.input name="waterTime" type="date" dataType="date" dataFormat="yyyy-MM-dd HH:mm:ss"
                                    placeholder="测试日期" butClass="fa fa-calendar-plus-o" required=true /></td>
                            </tr>
                            <tr>
                                <td>用水量(mL)</td>
                                <td>水灰比</td>
                                <td colspan="2">相互垂直两个方向直径(mm)</td>
                                <td>胶砂流动度平均值(mm)</td>
                            </tr>
                            <tr>
                                <td><input type="text" name="mobilityWater" class="form-control"></td>
                                <td><input type="text" name="limestoneWater" class="form-control"></td>
                                <td><input type="text" name="diameterWater1" class="form-control"></td>
                                <td><input type="text" name="diameterWater2" class="form-control"></td>
                                <td><input type="text" name="averageWater" class="form-control"></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>



            <div role="tabpanel" class="tab-pane" id="ThFastStrength" style="margin-top: 20px">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <table class="table table-bordered">
                            <tr>
                                <td colspan="4">水泥胶砂强度实验</td>
                                <td colspan="3">备注：胶砂强度试件于</td>
                                <td colspan="3">       年    月    日     h    min</td>
                                <td colspan="3">制作</td>
                            </tr>
                            <tr>
                                <td rowspan="2">龄期(d)</td>
                                <td rowspan="2">试压日期</td>
                                <td colspan="4">抗折强度(MPa)</td>
                                <td colspan="7">抗压强度</td>
                            </tr>
                            <tr>
                                <td colspan="3">抗折强度</td>
                                <td colspan="1">平均值</td>
                                <td colspan="3">破坏荷载</td>
                                <td colspan="3">破坏强度</td>
                                <td>平均值</td>
                            </tr>
                            <tr>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td rowspan="2"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row" style="margin-top: 10px;">
                    <div class="col-sm-10 col-sm-offset-1">
                        <table class="table table-bordered">
                            <tr>
                                <td colspan="9">强度快速测定</td>
                            </tr>
                            <tr>
                                <td>荷载值(kN)</td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td>推定强度值(MPa)</td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td colspan="8"><input type="text" class="form-control"></td>
                            </tr>
                        </table>
                    </div>

                </div>
            </div>

            <div role="tabpanel" class="tab-pane" id="losOnIgnition">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <table class="table table-bordered" style="text-align: center; margin-top: 20px;">
                            <tr>
                                <td colspan="16">烧失量(%)</td>
                            </tr>
                            <tr>
                                <td colspan="2">试样</td>
                                <td colspan="4">水泥试样质量m(g)</td>
                                <td colspan="4">灼烧后试样质量m1(g)</td>
                                <td colspan="4">烧失量(%)</td>
                                <td colspan="2">平均值(%)</td>
                            </tr>
                            <tr>
                                <td colspan="2">1</td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="2" rowspan="3"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td colspan="2">2</td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td colspan="2">3</td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td colspan="16">干缩率(%)</td>
                            </tr>
                            <tr>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                                <td colspan="4"><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td>试体有效长度</td>
                                <td>初始测量读书</td>
                                <td>龄期测量读书</td>
                                <td>干缩率(%)</td>
                                <td>试体有效长度</td>
                                <td>初始测量读书</td>
                                <td>龄期测量读书</td>
                                <td>干缩率(%)</td>
                                <td>试体有效长度</td>
                                <td>初始测量读书</td>
                                <td>龄期测量读书</td>
                                <td>干缩率(%)</td>
                                <td>试体有效长度</td>
                                <td>初始测量读书</td>
                                <td>龄期测量读书</td>
                                <td>干缩率(%)</td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                                <td><input type="text" class="form-control"></td>
                            </tr>
                            <tr>
                                <td colspan="3">检测依据</td>
                                <td colspan="13">
                                    <div class="checkbox">
                                        <label><input type="checkbox" value="GB 175-2007（2018版）">GB 175-2007（2018版）</label>
                                        <label><input type="checkbox" value="GB 2938-2008">GB 2938-2008</label>
                                        <label><input type="checkbox" value="GB 25029-2010">GB 25029-2010</label>
                                        <label><input type="checkbox" value="GB/T 201-2015">GB/T 201-2015</label>
                                        <label><input type="checkbox" value="GB/T 2015-2017">GB/T 2015-2017</label>
                                        <label><input type="checkbox" value="GB/T 3183-2017">GB/T 3183-2017</label>
                                        <label><input type="checkbox" value="GB/T 13693-2017 ">GB/T 13693-2017 </label>
                                        <label><input type="checkbox" value="JC/T 311-2004">JC/T 311-2004 </label>
                                        <label><input type="checkbox" value="GB 20472-2006(限快硬型)">GB 20472-2006（限快硬型）</label>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3">备注</td>
                                <td colspan="13">
                                    仪器设备前□中打√的为本次检测所用仪器设备
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>

        <div style="width: 100%; height: 80px; border: 1px solid #ddd; margin-top: 20px;">
            <div class="col-md-1 setfont2" style="margin-top: 20px;">结论:</div>
            <div class="col-md-11">
                <textarea style=" margin-top: 10px; resize: none; display: inline-block;" class="form-control" name="conclusion"></textarea>
            </div>
        </div>

    </div>



</div>
<div class="hr-line-dashed"></div>
<div class="row" style="text-align: center;" id="_addTab">
    <!--<button type="button" class="btn btn-sm btn-primary" onclick="opt.form.submit()"><i class="fa fa-check"></i><@ctx.i18n text = "保存"/></button>&nbsp;-->
    <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i><@ctx.i18n text = "保存"/></button>&nbsp;
    <button type="button" class="btn btn-sm btn-danger" onclick="opt.modal.closeTab()"><i class="fa fa-reply-all"></i><@ctx.i18n text = "关闭"/></button>
</div>
</div>
</@f.form>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "pms/entry";



    $('#tipBut button').click(function(){
        $('#comment').text($(this).text())
    });

    $("#task-form-complete").validate({
        focusCleanup: true
    });
    function tableCallback(id, event, index, layero, nodes){
        console.log("aaaaaaaaaaaaaaa")
        console.log(id)
        if(id == "entrustCode"){
            console.log("弹出表格选择===>>>>: id:" + id + "  event:" + event + " index:" + index + "  layero:"+ layero + " nodes:" + JSON.stringify(nodes));
            console.log(nodes.length>0)

            if(nodes.length>0){
                var data = nodes.table[0];
                $("input[name=sampleCode]").val(data.sampleCode);
                // $("input[name=level]").val(data.specifications2);
            }




        }
    }
    // 水泥细度
    function xidu(){
        var object = {};
        console.log("111111111111111111111")
        // var residue1= $("input[name=residue1]").val();
        // var percentage1= $("input[name=percentage1]").val();
        // var style1= $("input[name=style1]").val();
        // var residue2= $("input[name=residue2]").val();
        // var percentage2= $("input[name=percentage2]").val();
        // var style2= $("input[name=style2]").val();
        // var average= $("input[name=average]").val();
        object["residue1"]=$("input[name=residue1]").val();
        object["percentage1"]=$("input[name=percentage1]").val();
        object["style1"]=$("input[name=style1]").val();
        object["residue2"]=$("input[name=residue2]").val();
        object["percentage2"]=$("input[name=percentage2]").val();
        object["style2"]=$("input[name=style2]").val();
        object["average"]=$("input[name=average]").val();
        var json = JSON.stringify(object);
        $("input[name=xidu]").val(json);
        console.log(json)
    }
    <!-- 标准稠度 -->
    function houdu() {
        var object = {};
        object["residue1"]=$("input[name=sample]").val();
        object["water"]=$("input[name=water]").val();
        object["consistency"]=$("input[name=consistency]").val();
        var json = JSON.stringify(object);
        $("input[name=houdu]").val(json);
    }
    <!-- 初凝、终凝 -->
    function ningjie(){
        var object = {};
        object["first1"]=$("input[name=first1]").val();
        object["first2"]=$("input[name=first2]").val();
        object["first3"]=$("input[name=first3]").val();
        object["first4"]=$("input[name=first4]").val();
        object["first5"]=$("input[name=first5]").val();
        object["first6"]=$("input[name=first6]").val();
        object["first7"]=$("input[name=first7]").val();
        object["first8"]=$("input[name=first8]").val();
        object["first9"]=$("input[name=first9]").val();
        object["first10"]=$("input[name=first10]").val();
        object["first11"]=$("input[name=first11]").val();
        object["first12"]=$("input[name=first12]").val();

        object["end1"]=$("input[name=end1]").val();
        object["end2"]=$("input[name=end2]").val();
        object["end3"]=$("input[name=end3]").val();
        object["end4"]=$("input[name=end4]").val();
        object["end5"]=$("input[name=end5]").val();
        object["end6"]=$("input[name=end6]").val();
        object["end7"]=$("input[name=end7]").val();
        object["end8"]=$("input[name=end8]").val();
        object["end9"]=$("input[name=end9]").val();
        object["end10"]=$("input[name=end10]").val();
        object["end11"]=$("input[name=end11]").val();
        object["end12"]=$("input[name=end12]").val();

        object["whether1"]=$("input[name=whether1]").val();
        object["whether2"]=$("input[name=whether2]").val();
        object["whether3"]=$("input[name=whether3]").val();
        object["whether4"]=$("input[name=whether4]").val();
        object["whether5"]=$("input[name=whether5]").val();
        object["whether6"]=$("input[name=whether6]").val();
        object["whether7"]=$("input[name=whether7]").val();
        object["whether8"]=$("input[name=whether8]").val();
        object["whether9"]=$("input[name=whether9]").val();
        object["whether10"]=$("input[name=whether10]").val();
        object["whether11"]=$("input[name=whether11]").val();
        object["whether12"]=$("input[name=whether12]").val();
        var json = JSON.stringify(object);
        $("input[name=ningjie]").val(json);
    }
    <!-- 安定性 -->
    function andingxing() {
       var object = {};
        object["start1"]=$("input[name=start1]").val();
        object["endDistance1"]=$("input[name=endDistance1]").val();
        object["add1"]=$("input[name=add1]").val();
        object["start2"]=$("input[name=start2]").val();
        object["endDistance2"]=$("input[name=endDistance2]").val();
        object["add2"]=$("input[name=add2]").val();
        object["averageDistance1"]=$("input[name=averageDistance1]").val();
        var json = JSON.stringify(object);
        $("input[name=andingxing]").val(json);
    }
    // 水泥密度
    function midu(){
        var object = {};
        console.log("111111111111111111111")

        object["temperature1"]=$("input[name=temperature1]").val();
        object["sampleMass1"]=$("input[name=sampleMass1]").val();
        object["load1"]=$("input[name=load1]").val();
        object["firstReading1"]=$("input[name=firstReading1]").val();
        object["twoReading1"]=$("input[name=twoReading1]").val();
        object["volume1"]=$("input[name=volume1]").val();
        object["density1"]=$("input[name=density1]").val();

        object["temperature2"]=$("input[name=temperature2]").val();
        object["sampleMass2"]=$("input[name=sampleMass2]").val();
        object["load2"]=$("input[name=load2]").val();
        object["firstReading2"]=$("input[name=firstReading2]").val();
        object["twoReading2"]=$("input[name=twoReading2]").val();
        object["volume2"]=$("input[name=volume2]").val();
        object["density2"]=$("input[name=density2]").val();
        object["densityAverage"]=$("input[name=densityAverage]").val();
        var json = JSON.stringify(object);
        $("input[name=midu]").val(json);
        console.log(json)
    }
    <!-- 比表面积 -->
    function mianji(){

        var object = {};
        console.log("111111111111111111111")

        object["faceTemperature1"]=$("input[name=faceTemperature1]").val();
        object["densityTemperature1"]=$("input[name=densityTemperature1]").val();
        object["porosityTemperature1"]=$("input[name=porosityTemperature1]").val();
        object["viscosityTemperature1"]=$("input[name=viscosityTemperature1]").val();
        object["surfaceTemperature1"]=$("input[name=surfaceTemperature1]").val();
        object["areaTemperature1"]=$("input[name=areaTemperature1]").val();
        object["averageTemperature1"]=$("input[name=averageTemperature1]").val();

        object["faceTemperature2"]=$("input[name=faceTemperature2]").val();
        object["densityTemperature2"]=$("input[name=densityTemperature2]").val();
        object["porosityTemperature2"]=$("input[name=porosityTemperature2]").val();
        object["viscosityTemperature2"]=$("input[name=viscosityTemperature2]").val();
        object["surfaceTemperature2"]=$("input[name=surfaceTemperature2]").val();
        object["areaTemperature2"]=$("input[name=areaTemperature2]").val();
        object["averageTemperature2"]=$("input[name=averageTemperature2]").val();

        object["areaTemperature2"]=$("input[name=surfaceTemperature3]").val();
        object["averageTemperature2"]=$("input[name=areaTemperature3]").val();

        var json = JSON.stringify(object);
        $("input[name=mianji]").val(json);
        console.log(json)
    }
    <!-- 胶砂流动度 -->
    function liudongdu(){
        var object = {};
        console.log("111111111111111111111")
        object["waterTime"]=$("input[name=waterTime]").val();
        object["mobilityWater"]=$("input[name=mobilityWater]").val();
        object["limestoneWater"]=$("input[name=limestoneWater]").val();
        object["diameterWater1"]=$("input[name=diameterWater1]").val();
        object["averageWater"]=$("input[name=averageWater]").val();
        var json = JSON.stringify(object);
        $("input[name=liudongdu]").val(json);
        console.log(json)
    }

    function submitHandler() {
        var text =$("#equipmentName").val();
        var s1 = text.replace(/^\s*|\s*$/g,"");
        var s = s1.replace(/\s+/g,",");
        $("input[name=equipment]").val(s);
       this.xidu();
       this.houdu();
       // this.chuning();
       //  this.qiangdu();
       this.ningjie();
       this.andingxing();
       this.midu();
       this.mianji();
       this.liudongdu();
       // this.qiangdu1();
       // this.shiyang();

// return false;
        if (opt.validate.form()) {
            opt.operate.saveTab(prefix + "/dataEntry", $('#task-form-complete').serialize());
        }
    }

    $(window).bind("load resize", function() {
        $(".average").css("height", $('.baifenbi').height() * 2 + 40)
    });
</script>
</@footer>
</@pageTheme>